package com.example.carbonbackend.model.dto.trade;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 交易记录创建请求
 *
 */
@Data
public class TradeAddRequest implements Serializable {


    /**
     * 区块链交易id
     */

    private String blockchainId;

    /**
     * 买方id
     */

    private Long buyerId;

    /**
     * 卖方id
     */

    private Long sellerId;

    /**
     * 数量
     */

    private Long amount;

    /**
     * 价格
     */

    private Long price;

    /**
     * 交易日期
     */

    private Date tradeTime;

    private Long companyId;

    private Integer isDelete;

    private static final long serialVersionUID = 1L;
}